/* homepageHeader.css */

.homepage-header {
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-content {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.header-title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(to right, #E74C3C, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.header-subtitle {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--ifm-color-emphasis-700);
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.header-links {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--ifm-background-surface-color);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.header-links a {
  display: inline-block;
  margin: 0.5rem;
}

.header-links hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--ifm-color-emphasis-300);
  width: 100%;
}

.social-links {
  margin: 1.5rem 0 3rem;
  padding: 1.5rem;
  text-align: center;
}

.social-links a {
  display: inline-block;
  margin: 0.5rem;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.social-links a:hover {
  transform: translateY(-2px);
}

.social-links img {
  height: 36px;
  filter: var(--ifm-social-links-filter);
}

[data-theme='dark'] .social-links img {
  filter: invert(1);
}

.link-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.link-button {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--ifm-color-emphasis-200);
  background: var(--ifm-background-surface-color);
  color: var(--ifm-color-emphasis-700);
}

.link-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
  background: var(--ifm-color-emphasis-100);
  color: var(--ifm-color-emphasis-800);
}

.link-button .icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.link-button .text {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.link-button .highlight {
  margin-left: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  background: var(--ifm-color-primary);
  color: white;
}

.project .highlight {
  background: #FFE165;
  color: #000;
}

.slack .highlight {
  background: #E01E5A;
}

.discord .highlight {
  background: #5865F2;
}

@media screen and (max-width: 768px) {
  .header-title {
    font-size: 3rem;
  }

  .header-subtitle {
    font-size: 1.2rem;
  }

  .header-links {
    padding: 1rem;
  }

  .social-links {
    padding: 1rem;
  }

  .link-row {
    gap: 0.5rem;
  }

  .link-button {
    padding: 0.4rem 0.8rem;
  }

  .link-button .icon {
    font-size: 1rem;
  }

  .link-button .text {
    font-size: 0.8rem;
  }
}
